package com.ytjj.qmyx.mall.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class ChannelStatistics implements Serializable {
    private Integer id;

    /**
     * 日活跃人数
     *
     * @mbg.generated
     */
    private Integer daus;

    /**
     * 新增用户
     *
     * @mbg.generated
     */
    private Integer newUser;

    /**
     * 激活用户
     *
     * @mbg.generated
     */
    private Integer activeUser;

    /**
     * 订单数
     *
     * @mbg.generated
     */
    private Integer orderNum;

    /**
     * 支付订单数
     *
     * @mbg.generated
     */
    private Integer payNum;

    /**
     * 支付率
     *
     * @mbg.generated
     */
    private String payRatio;

    /**
     * 支付金额
     *
     * @mbg.generated
     */
    private BigDecimal payMoney;

    /**
     * 成本
     *
     * @mbg.generated
     */
    private BigDecimal costMoney;

    /**
     * 利润
     *
     * @mbg.generated
     */
    private BigDecimal profit;

    /**
     * 创建时间
     *
     * @mbg.generated
     */
    private Date createTime;

    /**
     * 记录时间
     *
     * @mbg.generated
     */
    private Date recordTime;

    /**
     * 来源 
     *
     * @mbg.generated
     */
    private String source;

    /**
     * 渠道
     *
     * @mbg.generated
     */
    private String channel;

    /**
     * 额外字段
     *
     * @mbg.generated
     */
    private String extra;

    /**
     * 订单率
     *
     * @mbg.generated
     */
    private String orderRatio;

    /**
     * 客单率
     *
     * @mbg.generated
     */
    private String customerRatio;

    /**
     * 点击地址数
     *
     * @mbg.generated
     */
    private Integer addressClickNum;

    /**
     * 首次购买数
     */
    private Integer firstBuyNum;

    private static final long serialVersionUID = 1L;

    public void setFirstBuyNum(Integer firstBuyNum) {
        this.firstBuyNum = firstBuyNum;
    }

    public Integer getFirstBuyNum() {
        return firstBuyNum;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getDaus() {
        return daus;
    }

    public void setDaus(Integer daus) {
        this.daus = daus;
    }

    public Integer getNewUser() {
        return newUser;
    }

    public void setNewUser(Integer newUser) {
        this.newUser = newUser;
    }

    public Integer getActiveUser() {
        return activeUser;
    }

    public void setActiveUser(Integer activeUser) {
        this.activeUser = activeUser;
    }

    public Integer getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }

    public Integer getPayNum() {
        return payNum;
    }

    public void setPayNum(Integer payNum) {
        this.payNum = payNum;
    }

    public String getPayRatio() {
        return payRatio;
    }

    public void setPayRatio(String payRatio) {
        this.payRatio = payRatio;
    }

    public BigDecimal getPayMoney() {
        return payMoney;
    }

    public void setPayMoney(BigDecimal payMoney) {
        this.payMoney = payMoney;
    }

    public BigDecimal getCostMoney() {
        return costMoney;
    }

    public void setCostMoney(BigDecimal costMoney) {
        this.costMoney = costMoney;
    }

    public BigDecimal getProfit() {
        return profit;
    }

    public void setProfit(BigDecimal profit) {
        this.profit = profit;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getRecordTime() {
        return recordTime;
    }

    public void setRecordTime(Date recordTime) {
        this.recordTime = recordTime;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public String getChannel() {
        return channel;
    }

    public void setChannel(String channel) {
        this.channel = channel;
    }

    public String getExtra() {
        return extra;
    }

    public void setExtra(String extra) {
        this.extra = extra;
    }

    public String getOrderRatio() {
        return orderRatio;
    }

    public void setOrderRatio(String orderRatio) {
        this.orderRatio = orderRatio;
    }

    public String getCustomerRatio() {
        return customerRatio;
    }

    public void setCustomerRatio(String customerRatio) {
        this.customerRatio = customerRatio;
    }

    public Integer getAddressClickNum() {
        return addressClickNum;
    }

    public void setAddressClickNum(Integer addressClickNum) {
        this.addressClickNum = addressClickNum;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", daus=").append(daus);
        sb.append(", newUser=").append(newUser);
        sb.append(", activeUser=").append(activeUser);
        sb.append(", orderNum=").append(orderNum);
        sb.append(", payNum=").append(payNum);
        sb.append(", payRatio=").append(payRatio);
        sb.append(", payMoney=").append(payMoney);
        sb.append(", costMoney=").append(costMoney);
        sb.append(", profit=").append(profit);
        sb.append(", createTime=").append(createTime);
        sb.append(", recordTime=").append(recordTime);
        sb.append(", source=").append(source);
        sb.append(", channel=").append(channel);
        sb.append(", extra=").append(extra);
        sb.append(", orderRatio=").append(orderRatio);
        sb.append(", customerRatio=").append(customerRatio);
        sb.append(", addressClickNum=").append(addressClickNum);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}